package com.esunny.resourcevisualization.domain.entity;

/**
 * @version 1.0.0.0
 * @ClassName UserEntity
 * @Description 用户-实体关系表
 * @Author baochencong
 * @Date 2020/11/5 8:27
 */
public class UserEntity {

    /**
     * 自增id
     */
    private int id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 用户组名
     */
    private String userGroupName;

    /**
     * 实体id
     */
    private int entityId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserGroupName() {
        return userGroupName;
    }

    public void setUserGroupName(String userGroupName) {
        this.userGroupName = userGroupName;
    }

    public int getEntityId() {
        return entityId;
    }

    public void setEntityId(int entityId) {
        this.entityId = entityId;
    }

    @Override
    public String toString() {
        return "UserEntity{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", userGroupName='" + userGroupName + '\'' +
                ", entityId=" + entityId +
                '}';
    }
}
